|
|
 |
|
|
|
|
conversions |
|
|
|
 |
|
|
|
|
data from C to Visual Basic, 353 |
|
|
|
 |
|
|
|
|
DEVMODE, 4446 |
|
|
|
 |
|
|
|
|
error codes into error descriptions, 51 |
|
|
|
 |
|
|
|
|
LPOLESTR into VB string, 247 |
|
|
|
 |
|
|
|
|
parameters to Long data type, 223224 |
|
|
|
 |
|
|
|
|
of string arrays to/from buffers, 136 |
|
|
|
 |
|
|
|
|
of strings, 209, 225 |
|
|
|
 |
|
|
|
|
twips to pixels, 156 |
|
|
|
 |
|
|
|
|
Unicode strings to Visual Basic, 195196 |
|
|
|
 |
|
|
|
|
Unicode to ANSI, 192 |
|
|
|
 |
|
|
|
|
Visual Basic strings to C, 176 |
|
|
|
 |
|
|
|
|
coordinate systems, 125n |
|
|
|
 |
|
|
|
|
Coordinated Universal Time, 65n |
|
|
|
 |
|
|
|
|
coordinates, 125n |
|
|
|
 |
|
|
|
|
copying |
|
|
|
 |
|
|
|
|
a byte array, 206 |
|
|
|
 |
|
|
|
|
files, 138139, 259263 |
|
|
|
 |
|
|
|
|
strings, 224 |
|
|
|
 |
|
|
|
|
CoTaskMemFree, 249250 |
|
|
|
 |
|
|
|
|
country and language, identifying, 15, 111 |
|
|
|
 |
|
|
|
|
CPU speed, determining, 132, 255263 |
|
|
|
 |
|
|
|
|
cpuid.h, 371372, 375 |
|
|
|
 |
|
|
|
|
cpuinf32.dll, 132, 257, 370, 371 |
|
|
|
 |
|
|
|
|
CPUInfo project, 257 |
|
|
|
 |
|
|
|
|
CreateCompatibleDC, 156 |
|
|
|
 |
|
|
|
|
CreateObject, 117 |
|
|
|
 |
|
|
|
|
Currency, 296, 355 |
|
|
|
 |
|
|
|
|
Currency value, 258 |
|
|
|
 |
|
|
|
|
custom DLLs, 341, 355 |
|
|
|
 |
|
|
|
|
data, reading registry, 6265 |
|
|
|
 |
|
|
|
|
data storage, 228229 |
|
|
|
 |
|
|
|
|
data types, 191, 293296 |
|
|
|
 |
|
|
|
|
128-bit, 115 |
|
|
|
 |
|
|
|
|
binary, 192 |
|
|
|
 |
|
|
|
|
byte, 291 |
|
|
|
 |
|
|
|
|
C language, 344346 |
|
|
|
 |
|
|
|
|
Visual Basic equivalents, 354 |
|
|
|
 |
|
|
|
|
characteristics, 344 |
|
|
|
 |
|
|
|
|
common Windows, 351353 |
|
|
|
 |
|
|
|
|
currency, 355 |
|
|
|
 |
|
|
|
|
date, 355 |
|
|
|
 |
|
|
|
|
derived, 346, 348349 |
|
|
|
 |
|
|
|
|
enumeration, 90 |
|
|
|
 |
|
|
|
|
Enums, 404 |
|
|
|
 |
|
|
|
|
FILEOP_FLAGS, 134 |
|
|
|
 |
|
|
|
|
Long, 191, 223224 |
|
|
|
 |
|
|
|
|
PDWORD, 381 |
|
|
|
 |
|
|
|
|
reference, 348 |
|
|
|
 |
|
|
|
|
registry, 63 |
|
|
|
 |
|
|
|
|
REG_SZ, 49 |
|
|
|
 |
|
|
|
|
STDAPI, 121 |
|
|
|
 |
|
|
|
|
string value, 192 |
|
|
|
 |
|
|
|
|
that cannot fit into a register, 328 |
|
|
|
 |
|
|
|
|
See also declarations |
|
|
|
 |
|
|
|
|
Date, 355 |
|
|
|
 |
|
|
|
|
daylight savings time, 65 |
|
|
|
 |
|
|
|
|
DaylightBias, 66, 68 |
|
|
|
 |
|
|
|
|
DaylightName, 66, 68, 194, 195 |
|
|
|
 |
|
|
|
|
DCB, 311314 |
|
|
|
 |
|
|
|
|
Debug statement, 268 |
|
|
|
 |
|
|
|
|
declarations, 191, 279282 |
|
|
|
 |
|
|
|
|
As Any, 9, 153, 154n, 182, 190, 191, 333334 |
|
|
|
 |
|
|
|
|
As Byte, 191, 194 |
|
|
|
 |
|
|
|
|
ByVal As Long, 167, 181183, 191, 240241 |
|
|
|
 |
|
|
|
|
ByVal As String, 19, 21, 167 |
|
|
|
 |
|
|
|
|
C/C++, 344, 346 |
|
|
|
 |
|
|
|
|
constant, 374375 |
|
|
|
 |
|
|
|
|
constant (RAS error), 81 |
|
|
|
 |
|
|
|
|
DLL errors, 316 |
|
|
|
 |
|
|
|
|
double-checking, 264 |
|
|
|
 |
|
|
|
|
errors in, 174, 194, 237 |
|
|
|
 |
|
|
|
|
function, 373374 |
|
|
|
 |
|
|
|
|
importance of ByVal to, 330 |
|
|
|
 |
|
|
|
|
LPVOID, 47 |
|
|
|
 |
|
|
|
|
multiple, 9, 167 |
|
|
|
 |
|
|
|
|
of parameters as arrays, 170171 |
|
|
|
 |
|
|
|
|
Service Manager function, 405415 |
|
|
|
 |
|
|
|
|
Sub vs. Function, 220 |
|
|
|
 |
|
|
|
|
Visual Basic |
|
|
|
 |
|
|
|
|
vs. C++, 195 |
|
|
|
 |
|
|
|
|
DisplayValue function, 64 |
|
|
|
 |
|
|
|
|
for an enumeration, 93 |
|
|
|
 |
|
|
|
|
LoadIcon, 24 |
|
|
|
 |
|
|
|
|
POINT structure, 28 |
|
|
|
 |
|
|
|
|
RegEnumKey function, 57 |
|
|
|
 |
|
|
|
|
RegEnumValue, 59 |
|
|
|
 |
|
|
|
|
RegQueryInfoKey, 54 |
|
|
|
 |
|
|
|
|
SHFileOperation, 133 |
|
|
|
 |
|
|
|
|
SHFILEOPSTRUCT structure, 134 |
|
|
|
 |
|
|
|
|
Declare statement, 9, 113, 279280, 341 |
|
|
|
 |
|
|
|
|
#define, 373, 375 |
|
|
|
 |
|
|
|
|
#define statement, 349350 |
|
|
|
 |
|
|
|
|
derived data types, 346, 348349 |
|
|
|
 |
|
|
|
|
Desaware Web site, 132n, 273 |
|
|
|
 |
|
|
|
|
Desaware's SpyWorks, 88n, 114, 261, 369 |
|
|
|
 |
|
|
|
|
desktop animations, 144 |
|
|
|
 |
|
|
|
|
Developing COM/ActiveX Components with Visual Basic 6.0 (Appleman), 88n, 114, 184 |
|
|
|
 |
|
|
|
|
device context, 26, 125n, 155156 |
|
|
|
 |
|
|
|
|
devices, discovering and configuring, 41, 206 |
|
|
|
 |
|
|
|
|
DEVMODE, 4146, 7577, 174, 203206 |
|
|
|
 |
|
|
|
|
Dir command for serial number, 71, 200201 |
|
|
|
 |
|
|
|
|
directory management, 135 |
|
|
|
 |
|
|
|
|
disk volume serial numbers, 6971, 199202 |
|
|
|
 |
|
|
|
|
display devices, 41 |
|
|
|
 |
|
|
|
|
DisplayModes.vbp results, 46 |
|
|
|
 |
|
|
|
|
DLL calls, 316328 |
|
|
|
 |
|
|
|
|
DLL declaration errors, 316 |
|
|
|
|
|